/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MODEL.POJO;

/**
 *
 * @author kijoo
 */
public class TinTucPOJO {

    private int idtintuc;
    private String idtin;
    private String ten;
    private String hinh;
    private String tomtat;
    private String noidung;
    private String ghichu;
    private int tinhtrang;

    public TinTucPOJO(int idtintuc, String idtin, String ten, String hinh, String tomtat, String noidung, String ghichu, int tinhtrang) {
        this.idtintuc = idtintuc;
        this.idtin = idtin;
        this.ten = ten;
        this.hinh = hinh;
        this.tomtat = tomtat;
        this.noidung = noidung;
        this.ghichu = ghichu;
        this.tinhtrang = tinhtrang;
    }

    public TinTucPOJO() {
    }

    /**
     * @return the idtintuc
     */
    public int getIdtintuc() {
        return idtintuc;
    }

    /**
     * @param idtintuc the idtintuc to set
     */
    public void setIdtintuc(int idtintuc) {
        this.idtintuc = idtintuc;
    }

    /**
     * @return the idtin
     */
    public String getIdtin() {
        return idtin;
    }

    /**
     * @param idtin the idtin to set
     */
    public void setIdtin(String idtin) {
        this.idtin = idtin;
    }

    /**
     * @return the hinh
     */
    public String getHinh() {
        return hinh;
    }

    /**
     * @param hinh the hinh to set
     */
    public void setHinh(String hinh) {
        this.hinh = hinh;
    }

    /**
     * @return the tomtat
     */
    public String getTomtat() {
        return tomtat;
    }

    /**
     * @param tomtat the tomtat to set
     */
    public void setTomtat(String tomtat) {
        this.tomtat = tomtat;
    }

    /**
     * @return the noidung
     */
    public String getNoidung() {
        return noidung;
    }

    /**
     * @param noidung the noidung to set
     */
    public void setNoidung(String noidung) {
        this.noidung = noidung;
    }

    /**
     * @return the ghichu
     */
    public String getGhichu() {
        return ghichu;
    }

    /**
     * @param ghichu the ghichu to set
     */
    public void setGhichu(String ghichu) {
        this.ghichu = ghichu;
    }

    /**
     * @return the tinhtrang
     */
    public int getTinhtrang() {
        return tinhtrang;
    }

    /**
     * @param tinhtrang the tinhtrang to set
     */
    public void setTinhtrang(int tinhtrang) {
        this.tinhtrang = tinhtrang;
    }

    /**
     * @return the ten
     */
    public String getTen() {
        return ten;
    }

    /**
     * @param ten the ten to set
     */
    public void setTen(String ten) {
        this.ten = ten;
    }
}
